package com.allinpay.aipg.common;

public class FagRaretRsp {
	public static FagRaretRsp packRsp(FagRaretReq fagRaretReq, String errcode, String strMsg) {
		FagRaretRsp fagraret = new FagRaretRsp();
		if (fagRaretReq != null) {
			if (errcode == null) errcode = "1000";
			fagraret.setRET_CODE(errcode);
			fagraret.setERR_MSG(strMsg);
		} else {
			if (errcode == null) errcode = "1001";
			fagraret.setRET_CODE("1001");
			fagraret.setERR_MSG(strMsg);
		}
		return fagraret;
	}

	public String getRET_CODE() {
		return RET_CODE;
	}

	public void setRET_CODE(String rETCODE) {
		RET_CODE = rETCODE;
	}

	public String getERR_MSG() {
		return ERR_MSG;
	}

	public void setERR_MSG(String eRRMSG) {
		ERR_MSG = eRRMSG;
	}

	private String RET_CODE = "";
	private String ERR_MSG = "";
}